package com.api.volunteer.repository;

import com.api.volunteer.model.SecretKey;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author 邹宇杰
 * @email 2901570623@qq.com
 * @date 2022/4/2 21:35
 */
@Repository
public interface SecretKeyRepository extends JpaRepository<SecretKey, String> {

    SecretKey findSecretKeyBySecret(String secret);

}
